import request from '@/utils/request'

// 查询水质监测站点列表
export function listDispatchWaterQualityMonitoringSites(query) {
  return request({
    url: '/system/dispatchWaterQualityMonitoringSites/list',
    method: 'get',
    params: query
  })
}

// 查询水质监测站点详细
export function getDispatchWaterQualityMonitoringSites(waterQualityMonitoringSitesId) {
  return request({
    url: '/system/dispatchWaterQualityMonitoringSites/' + waterQualityMonitoringSitesId,
    method: 'get'
  })
}

// 新增水质监测站点
export function addDispatchWaterQualityMonitoringSites(data) {
  return request({
    url: '/system/dispatchWaterQualityMonitoringSites',
    method: 'post',
    data: data
  })
}

// 修改水质监测站点
export function updateDispatchWaterQualityMonitoringSites(data) {
  return request({
    url: '/system/dispatchWaterQualityMonitoringSites',
    method: 'put',
    data: data
  })
}

// 删除水质监测站点
export function delDispatchWaterQualityMonitoringSites(waterQualityMonitoringSitesId) {
  return request({
    url: '/system/dispatchWaterQualityMonitoringSites/' + waterQualityMonitoringSitesId,
    method: 'delete'
  })
}
